package com.coderman.youpinshop.stock.dataobject;

import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * Description:库存变更记录数据库实体
 * date: 2022/1/15
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */

@Data
public class StockRecordDO {
    private Long id;

    private String stockCode;

    private String operationCode;

    /**
     * 操作之前的库存数量
     */
    private Integer beforeQuantity;

    /**
     * 操作之后的库存数量
     */
    private Integer afterQuantity;

    /**
     * 操作时间
     */
    private Date operationDate;


}
